<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<title>Like-喜欢鲜花平台！让鲜花从农户到用户一步到位 </title>

		<meta name="keywords" content="喜欢婚礼,婚礼学堂,嘉田美合,婚礼图片,婚礼视频,婚礼VR,婚礼,婚庆" />
		<meta name="description" content="喜欢婚礼平台,以婚礼机构为切入点，以婚礼用花为切入口，整合线下婚礼资源,鲜花,婚礼用品,舞美,人员等" />
		<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1,user-scalable=no">

		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta http-equiv="X-UA-Compatible" content="IE=edge chrome=1" />
		<meta name="renderer" content="webkit">
		<meta http-equiv="Content-Security-Policy" content="default-src *; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 'unsafe-eval'">
		<link rel="stylesheet" type="text/css" href="../../statics/css/cssinit.css" />
		<style type="text/css">
			.header {
				width: 100%;
				display: flex;
				justify-content: space-between;
				align-items: center;
				height: 50px;
				padding: 0 15px;
				box-sizing: border-box;
				background-color: #f5f5f5;
				box-shadow: inset 0px -1px 1px -1px #969696;
			}
			
			.header #backIcon {
				width: 46.5px;
			}
			
			.header .backIcon {
				width: 10px;
				height: 10px;
				/*border: 2px solid #d9b96e;*/
				border: 2px solid #969696;
				border-bottom: none;
				border-left: none;
				transform: rotate(-135deg);
				-ms-transform: rotate(-135deg);
				-moz-transform: rotate(-135deg);
				-webkit-transform: rotate(-135deg);
				-o-transform: rotate(-135deg);
			}
			
			.header .content {
				font-size: 18px;
				color: black;
			}
			
			.header .custom img {
				width: 17.5px;
				height: 17.5px;
				padding-right: 5px;
			}
			
			.main {
				width: 100%;
				text-align: center;
				height: calc(100vh - 50px);
				display: flex;
				flex-direction: column;
				justify-content: center;
				align-items: center;
			}
			
			.main .explain {
				color: red;
			}
			
			.main .TS {
				width: 100%;
				height: 40px;
				text-align: center;
				line-height: 40px;
				color: white;
				opacity: 0;
				transition: all 0.4s;
				-webkit-transition: all 0.4s;
				font-size: 14px;
				background-color: rgba(255, 71, 31, .65);
				position: fixed;
				top: 50px;
				z-index: 999;
			}
			
			.main .money {
				font-size: 15px;
				margin-bottom: 50px;
			}
			
			.main .acquireRMB {
				width: 100px;
				height: 30px;
				line-height: 30px;
				margin: 0 auto;
				box-sizing: border-box;
				font-size: 14px;
				text-align: center;
				border-radius: 10px;
				color: white;
				background-color: #78C3D8;
				margin-bottom: 30px;
			}
			
			.noOrder {
				font-size: 15px;
				text-align: center;
				display: none;
			}
			
			.noOrder img {
				display: block;
				margin: 194px auto 40px;
				width: 144px;
			}
		</style>
	</head>

	<body>
		<header class="header">
			<div id="backIcon">
				<div class="backIcon"></div>
			</div>
			<div class="content">申请提现</div>
			<div class="custom"><span><img src="../../statics/images/cityPartner/custom.png" alt="客服"/>客服</span></div>
		</header>
		<div class="main">
			<div class="TS">此处为提示信息</div>
			<div class="money">
				您当前可提现金额为¥<span class="getMoney">1</span>元
			</div>
			<div class="acquireRMB">确认提现</div>
			<div class="explain">提现已提交，正在审核中，需要1-7个工作日</div>
		</div>
		<div class="noOrder">
			<img src="../../statics/images/cityPartner/order/empty.png" />
			<span>当前没有收入哦~</span>
		</div>

	</body>
	<script src="../../statics/js/jquery-1.12.1.min.js" type="text/javascript" charset="utf-8"></script>
	<script src="../../statics/bowersrc/fastclick.js" type="application/javascript" charset="utf-8"></script>
	<script src="../../statics/js/common.js" type="text/javascript" charset="utf-8"></script>

	<script type="text/javascript">
		$(function() {
			new FastClick(document.body);
		})
	</script>
	<script type="text/javascript">
		$(".custom").on("click", function() {
			window.location.href = "../../views/service.html";
		})
		$("#backIcon").on("click", function() {
			window.history.back(-1)
		})
		$(".acquireRMB").on("click", function() {

			var token = selectByKey("token");

//			$.ajax({
//				method: 'GET',
//				url: "{{ Route('partner.partner.changeAccount') }}",
//				data: {
//					token: token,
//					alipay_account: value
//				},
//				success: function(data) {
//					console.log(data)
//					info("提交后台成功", 1);
//					if (data.number>0) {
//						$(".getMoney").html(data.number);
//					} else{
//						$(".main").hide();
//						$(".noOrder").show();
//					}
//				}
//			});

			info("提交后台成功", 1);

		})
		//提示信息
		function info(message, status) {
			var ts = document.querySelector('.TS');
			switch(status) {
				case 0:
					ts.style = '';
					break;
				case 1:
					ts.style.backgroundColor = 'rgba(19,198,191,.8)';
					break;
				default:
					break;
			}
			ts.innerHTML = message;
			ts.style.opacity = 1;
			setTimeout(function() {
				ts.style.opacity = 0;
			}, 2000)
		}
	</script>

</html>